<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>参数</title>
</head>
<body>
        <script>
           function $ (a,b,c,d) {
                    console.log(a);
                    console.log(b);
                    console.log(c);
                    console.log(d)
           }
            $(1,2,3,4)
        </script>
</body>
</html>